package cn.bean;



public class Ticket
{
     private int id;
     private Play play;
     private User user;
     private int seat;
     private String buy_time;
     
	public Ticket() {
		super();
	}
	public Ticket(int id, Play play, User user, int seat, String buy_time) {
		super();
		this.id = id;
		this.play = play;
		this.user = user;
		this.seat = seat;
		this.buy_time = buy_time;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Play getPlay() {
		return play;
	}
	public void setPlay(Play play) {
		this.play = play;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public int getSeat() {
		return seat;
	}
	public void setSeat(int seat) {
		this.seat = seat;
	}
	public String getBuy_time() {
		return buy_time;
	}
	public void setBuy_time(String buy_time) {
		this.buy_time = buy_time;
	}
     
     
 
     
}
